package com.xh.common.thread.ext.executor;

import java.util.concurrent.Executor;

public interface LevelExecutor extends Executor {

    void execute(Runnable command, ThreadPolicy policy);

    void setDefaultPolicy(ThreadPolicy policy);

    void setLevelExecutorDetector(LevelExecutorDetector detector);

}
